﻿// //  ********************************************************************************
// //  Copyright (C) 2016 Sebastian Kenter. All rights reserved.
// // 
// //  Name    : MultiServerEngine | TypeDefs | OperationSubCodes.cs
// //  Created : 2016 - 02 - 16 20:53
// //  Modified: 2016 - 02 - 20 12:33
// //  ********************************************************************************

namespace TypeDefs
{
    public enum OperationSubCodes
    {
        // --- SubOperation codes for inter server communication
        RegisterSubServer = 0, // Register a sub server to the master server
        UnregisterSubServer = 1, // Unregister a sub server from the master server

        // --- Sub Operation codes for the authentication system
        RegisterAccount = 10000, // Register a new account
        LoginAccount = 10001, // Login into an existing account
        CreateCharacter = 10004, // Create a new character on a realm
        DeleteCharacter = 10005, // Delete an existing character on a realm
        ModifyCharacter = 10006, // Modify an existing character on a realm
        DeleteAccount = 10010 // Delete an existing account (deletes all characters on all realms too)
        ,
        RequestRealmList = 20000 // Request the list of connected realm servers from the client
    }
}
